#include "aboutdialog.h"
#include "ui_aboutdialog.h"
#include <QDebug>


AboutDialog::AboutDialog(QWidget *parent) :
    QDialog(parent)
{
    ui.setupUi(this);
    ui.textEdit->viewport()->setAutoFillBackground(false);
}



AboutDialog::~AboutDialog()
{
    qWarning() << "AboutDialog destroyed";
    //delete ui;
}



void AboutDialog::closeEvent(QCloseEvent *event)
{
    Q_UNUSED(event)
    deleteLater();
}



void AboutDialog::on_pushButton_clicked()
{
    close();
}
